package com.open.capacity.workflow3.service;

import com.open.capacity.commons.PageResult;
import com.open.capacity.model.system.SysUser;
import com.open.capacity.workflow3.entity.NwfDelegateRelation;
import com.open.capacity.workflow3.entity.NwfDelegateRule;

import java.util.List;
import java.util.Map;

/**
 * @author
 * @email
 * @date 2023-11-02 21:21:15
 */
public interface NwfDelegateService {
    PageResult<NwfDelegateRule> getPageList(Map<String, Object> param, String keyword, SysUser userInfo);

    List<NwfDelegateRule> getList(SysUser userInfo);

    List<NwfDelegateRelation> getRelationList(String keyValue);

    void delete(String keyValue);

    void save(String keyValue, NwfDelegateRule wfDelegateRuleEntity, String[] schemeInfoList);

    void updateState(String keyValue, int state);
}

